package com.example.tse.rbhttpservice.service.member.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
 * 获取推荐有礼的基础信息，包含用户信息、邀请码、分享信息、二维码链接
 * @author wliu
 * edit tse
 */
public class MemberGiftGetInfoResponse extends RudderResponse{
    
    private String memberId = "";
		
    
    private String avatar = "";
		
    
    private String qrCodeLink = "";
		
    
    private String shareTitle = "";
		
    
    private String sharePic = "";
		
    
    private String shareDesc = "";
		
    
    private String shareLink = "";
		
    
    private String vcode = "";
		
	
    /**
     * @return memberId
     */	
    public String getMemberId() { 
	    return this.memberId;
    };
	
	/**
     * @return memberId
     */	
    public void setMemberId(String memberId) { 
        this.memberId = memberId;
    };
    
    /**
     * @return avatar
     */	
    public String getAvatar() { 
	    return this.avatar;
    };
	
	/**
     * @return avatar
     */	
    public void setAvatar(String avatar) { 
        this.avatar = avatar;
    };
    
    /**
     * @return qrCodeLink
     */	
    public String getQrCodeLink() { 
	    return this.qrCodeLink;
    };
	
	/**
     * @return qrCodeLink
     */	
    public void setQrCodeLink(String qrCodeLink) { 
        this.qrCodeLink = qrCodeLink;
    };
    
    /**
     * @return shareTitle
     */	
    public String getShareTitle() { 
	    return this.shareTitle;
    };
	
	/**
     * @return shareTitle
     */	
    public void setShareTitle(String shareTitle) { 
        this.shareTitle = shareTitle;
    };
    
    /**
     * @return sharePic
     */	
    public String getSharePic() { 
	    return this.sharePic;
    };
	
	/**
     * @return sharePic
     */	
    public void setSharePic(String sharePic) { 
        this.sharePic = sharePic;
    };
    
    /**
     * @return shareDesc
     */	
    public String getShareDesc() { 
	    return this.shareDesc;
    };
	
	/**
     * @return shareDesc
     */	
    public void setShareDesc(String shareDesc) { 
        this.shareDesc = shareDesc;
    };
    
    /**
     * @return shareLink
     */	
    public String getShareLink() { 
	    return this.shareLink;
    };
	
	/**
     * @return shareLink
     */	
    public void setShareLink(String shareLink) { 
        this.shareLink = shareLink;
    };
    
    /**
     * @return vcode
     */	
    public String getVcode() { 
	    return this.vcode;
    };
	
	/**
     * @return vcode
     */	
    public void setVcode(String vcode) { 
        this.vcode = vcode;
    };
    
	
        
    public static void filter(MemberGiftGetInfoResponse member) {
        if (member.getMemberId() == null) {
            member.setMemberId("");
        }
        if (member.getAvatar() == null) {
            member.setAvatar("");
        }
        if (member.getQrCodeLink() == null) {
            member.setQrCodeLink("");
        }
        if (member.getShareTitle() == null) {
            member.setShareTitle("");
        }
        if (member.getSharePic() == null) {
            member.setSharePic("");
        }
        if (member.getShareDesc() == null) {
            member.setShareDesc("");
        }
        if (member.getShareLink() == null) {
            member.setShareLink("");
        }
        if (member.getVcode() == null) {
            member.setVcode("");
        }
    }
}
